/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SampleThroughTheEnum extends StringEnum
{
    public static final String PASS_VALUE = "10";
    public static final String UNPASS_VALUE = "20";

    public static final SampleThroughTheEnum pass = new SampleThroughTheEnum("pass", PASS_VALUE);
    public static final SampleThroughTheEnum unPass = new SampleThroughTheEnum("unPass", UNPASS_VALUE);

    /**
     * construct function
     * @param String sampleThroughTheEnum
     */
    private SampleThroughTheEnum(String name, String sampleThroughTheEnum)
    {
        super(name, sampleThroughTheEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SampleThroughTheEnum getEnum(String sampleThroughTheEnum)
    {
        return (SampleThroughTheEnum)getEnum(SampleThroughTheEnum.class, sampleThroughTheEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SampleThroughTheEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SampleThroughTheEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SampleThroughTheEnum.class);
    }
}